<template>
  <div class="layout">
    <router-view></router-view>
    <van-tabbar v-model="active" route>
      <van-tabbar-item icon="home-o" to="/layout/article/recommend"
        >面经</van-tabbar-item
      >
      <van-tabbar-item icon="search" to="/layout/collect">收藏</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/layout/like">点赞</van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/layout/user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "HmLayOut",
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style></style>
